package com.tm.fiverole.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author wangJie
 * @create 2022-08-18 11:04
 */
@Data
@TableName("mall_sys_user_role_relation")
public class UserRoleEntity {


        private Long id;
        private Long userId;
        private Long roleId;
        private String createUser;
        private String updateUser;
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
        private Date createTime;
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
        private Date updateTime;
}
